<script setup lang="ts">
import { ref } from 'vue'

const options = [
  { label: '男', value: 1 },
  { label: '女', value: 0 }
]
const num = ref(0)
</script>

<template>
  <div class="radio-page">
    <!-- <cp-radio-btn
      :options="options"
      :modelValue="num"
      @update:modelValue="num = $event"
    ></cp-radio-btn> -->
    <h3>{{ num }}</h3>
    <cp-radio-btn :options="options" v-model:modelValue="num"></cp-radio-btn>
  </div>
</template>

<style lang="scss" scoped></style>
